<%@ include file="/WEB-INF/jsp/common/include.jsp" %>
<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<tiles:insertDefinition name="adminLayout.tiles">
  <tiles:putAttribute name="pageTitle">OSM</tiles:putAttribute>
  <tiles:putAttribute name="adminOsmTab" cascade="true">selected</tiles:putAttribute>
  <tiles:putAttribute name="body" cascade="true">
    <div class="block padding">
      <h2>Building table manipulation</h2>
      <h3>Favourite operations</h3>
      <p>
        <a href="/admin/osm/buildings/clear/ajax.do?city=minsk">Clear</a> Minsk <code>Building</code> table using AJAX.
      </p>
      <p>
        <a href="/admin/osm/buildings/clear/ajax.do?city=mogilev">Clear</a> Mogilev<code>Building</code> table using AJAX.
      </p>
      <p>
        <a href="/admin/osm/buildings/import/ajax.do?city=minsk">Import</a> data to Minsk <code>Building</code> table using AJAX.
      </p>
      <p>
        <a href="/admin/osm/buildings/import/ajax.do?city=mogilev">Import</a> data to Mogilev <code>Building</code> table using AJAX.
      </p>
      <p>
        <a href="/admin/osm/buildings.do">View</a> some Buildings
      </p>
      <h3>Other operations</h3>
      <p>
        <a href="/admin/osm/buildings/clear.do?city=minsk">Clear</a> some Minsk Buildings using single request.
      </p>
      <p>
        <a href="/admin/osm/buildings/clear.do?city=mogilev">Clear</a> some Mogilev Buildings using single request.
      </p>
      <p>
        <a href="/admin/osm/import.do?city=minsk">Import</a> some Minsk data to Buildings table using single request.
      </p>
    </div>
    &nbsp;
    <div class="block padding">
      <h2>Street table manipulation</h2>
      <table>
        <tr>
          <td><a href="/admin/osm/streets/import.do"/>Import Streets</td>
        </tr>
        <tr>
          <td><a href="/admin/osm/streets/clear.do"/>Clear Streets</td>
        </tr>
        <tr>
          <td><a href="/admin/osm/streets/clear/ajax.do"/>Ajax Clear Streets</td>
        </tr>
        <tr>
          <td><a href="/admin/osm/streets/import/ajax.do"/>Ajax Import Streets</td>
        </tr>
        <tr>
          <td><a href="/osmtext.do"/>OSM Text</td>
        </tr>
      </table>
    </div>
  </tiles:putAttribute>
</tiles:insertDefinition>